<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    ul,li{
      padding: 0px;
      margin: 0px;
      list-style: none;
    }
    ul{
      width: 100%;
      height: 70px;
      /*border: 1px solid red;*/


    }
    ul>li{
      float: left;
      list-style:none;
      width: 11.1%;
      height: 40px;
      background: #e87c1b;
      color: white;
      line-height: 40px;
      text-align: center;

    }

    li:hover{
      background: green;
        cursor: pointer;
    }

  </style>
</head>
<body>
<ul>
  <li>java</li>
  <li>php</li>
  <li>c++</li>
  <li>web</li>
  <li>Hosmongos</li>
  <li>xiaoyi</li>
</ul>
</body>
</html>